
' Copyright (c) 2015 ZZZ Projects. All rights reserved
' Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
' Website: http://www.zzzprojects.com/
' Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
' All ZZZ Projects products: Entity Framework Extensions / Bulk Operations / Extension Methods /Icon Library

Imports System.Web

Public Module Extensions_77

	''' <summary>
	'''     Encodes a byte array into its equivalent string representation using base 64 digits, which is usable for
	'''     transmission on the URL.
	''' </summary>
	''' <param name="input">The byte array to encode.</param>
	''' <returns>
	'''     The string containing the encoded token if the byte array length is greater than one; otherwise, an empty
	'''     string (&quot;&quot;).
	''' </returns>
	<System.Runtime.CompilerServices.Extension> _
	Public Function UrlTokenEncode(input As [Byte]()) As [String]
		Return HttpServerUtility.UrlTokenEncode(input)
	End Function
End Module


